// const moment = require('moment');
const path = require('path');
const Mock = require('mockjs');

const fileUtil = require("../../src/util/fileUtil")
var jsonObj = fileUtil.getJson5File(path.join(__dirname, './admin.json5'));

module.exports = [{
  url: '/admin/infos',
  type: 'get',
  data: Mock.mock(jsonObj)
},{
  url: '/app/info',
  type: 'get',
  data: Mock.mock(jsonObj)
},{
  url: '/admin/info1/:box',
  type: 'get',
  data: Mock.mock(jsonObj)
},{
  url: '/admin/info2',
  type: 'get',
  data: Mock.mock(jsonObj)
},{
  url: '/admin/info3',
  type: 'post',
  data: Mock.mock(jsonObj)
},{
  url: '/admin/info4',
  type: 'post',
  data: Mock.mock(jsonObj)
}]
